* {
  margin: 0;
  padding: 0; }

body {
  height: 100vh;
  background: black; }

.view {
	border: 5px solid wheat;
  max-width: 450px;
  width:100%;
  height:100%;
  position: relative;
  overflow: hidden;
  
  background-image: url(../img/mc_gameBg.png);
  background-size: contain;
  /*background-position: center;*/
  background-repeat: no-repeat;
   z-index: 11;
  
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  margin: 0 auto; }

.page1 {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  max-width: 450px;
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 10;
  background-image: url(../img/mc_opBg.png);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  font-size: 0; }
  .page1 > div {
    font-size: 0;
    margin: 60vh auto 0;
    text-align: center; }
    .page1 > div .start {
      background: #000;
      color: #fff;
      font-size: 30px;
      letter-spacing: 3px;
      padding: 0 20px; }

.page2 {
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 8;
  background-image: url(../img/mc_maskBg.png);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat; }

.page2_toleft1 {
  -webkit-transition: all 1.5s;
  transition: all 1.5s;
  -webkit-transform: translateX(-100vw);
          transform: translateX(-100vw); }

.page2_toleft2 {
  -webkit-transition: all 1.5s;
  transition: all 1.5s;
  -webkit-transform: translateX(0vw);
          transform: translateX(0vw); }

.page2_init {
  -webkit-transition: none;
  transition: none;
  -webkit-transform: translateX(100vw);
          transform: translateX(100vw); }

.page2_num {
  width: 100%;
  text-align: center;
  position: absolute;
  bottom: 35%;
  font-size: 80px;
  font-weight: 900; }

.box {
	margin-top: 28%;
  margin-left: 7%;
  max-width: 450px;
  width: 93%;
  height: 87%;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  position: absolute;
  z-index: 6; }
  .box .ball {
    background-color: #fff;
    position: absolute; }

.result {
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 9;
  background-image: url(../img/mc_overBg.png);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  display: none; }
  .result .home {
    text-align: center;
    width: 25%;
    font-size: 20px;
    font-weight: 600;
    position: absolute;
    bottom: 30%;
    left: 15%;
    background: wheat; }
  .result .again {
    text-align: center;
    background: wheat;
    width: 25%;
    font-size: 20px;
    font-weight: 600;
    position: absolute;
    bottom: 30%;
    right: 15%; }
